package paytreasure.po;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 支付宝消费表
 * @author xhh
 * @date 2017年7月12日 
 *
 */
public class Consume {
	
	private String consumeId;

    private String consume;        //总消费
    
    private String shopping;       //网购
    
    private String below;          //线下
    
    private String payConsume;     //缴费
     
    private String telConsume;     //手机

    private String other;          //其他
    
    private Date createDate;       //创建日期
    
    private String yearMonth;
    
    private Date createTime;       //创建时间
    
    private String creater;        //创建者
    
    private Date updateTime;     //修改时间
    
    private String remark;         //备注
    
    private int status;            //状态

	

	public String getConsumeId() {
		return consumeId;
	}

	public void setConsumeId(String consumeId) {
		this.consumeId = consumeId;
	}

	public String getConsume() {
		return consume;
	}

	public void setConsume(String consume) {
		this.consume = consume;
	}

	public String getShopping() {
		return shopping;
	}

	public void setShopping(String shopping) {
		this.shopping = shopping;
	}

	public String getBelow() {
		return below;
	}

	public void setBelow(String below) {
		this.below = below;
	}

	public String getPayConsume() {
		return payConsume;
	}

	public void setPayConsume(String payConsume) {
		this.payConsume = payConsume;
	}

	public String getTelConsume() {
		return telConsume;
	}

	public void setTelConsume(String telConsume) {
		this.telConsume = telConsume;
	}

	public String getOther() {
		return other;
	}

	public void setOther(String other) {
		this.other = other;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
		if(createDate!=null){
			this.yearMonth = new SimpleDateFormat("yyyyMM").format(createDate);
		}
	}

	public String getYearMonth() {
		return yearMonth;
	}

	public void setYearMonth(String yearMonth) {
		this.yearMonth = yearMonth;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreater() {
		return creater;
	}

	public void setCreater(String creater) {
		this.creater = creater;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

  


    
    
}